package com.gitee.aurora.service.impl;

import com.gitee.aurora.dao.SjzxCheckDao;
import com.gitee.aurora.service.SjzxCheckService;
import com.gitee.aurora.utils.ResultVO;

import com.gitee.aurora.utils.ResultVOUtils;
import com.gitee.aurora.vo.DataCheckVo;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * author: jiangfuxiao
 * Date:2022/9/2 11:34
 */
@Service("sjzxCheckServiceImpl")
public class SjzxCheckServiceImpl implements SjzxCheckService {

    @Resource(name = "sjzxCheckDaoImpl")
    private SjzxCheckDao sjzxCheckDao;

    @Override
    public ResultVO queryTableData(DataCheckVo vo) {

        return ResultVOUtils.success(sjzxCheckDao.queryTableData(vo));
    }

    @Override
    public ResultVO insertData(List list,DataCheckVo vo) {
        return  sjzxCheckDao.insertData(list,vo);
    }

}
